package cn.xshi.actuator.jvm.server;

import lombok.Data;
/**
 * @Desc JVM相关信息
 * @Author 邓纯杰
 * @CreateTime 2013-10-05 17:15:42
 */
@Data
public class JvmInfo {

	private double total;/**当前JVM占用的内存总数(M)**/

	private double max;/**JVM最大可用内存总数(M)**/

	private double free;/**JVM空闲内存(M)**/

	private String version;/**JDK版本**/

	private String home;/**JDK路径**/

	/**
	 * 构造函数
	 */
	public JvmInfo(){

	}

	/**
	 * 构造函数
	 * @param total
	 * @param max
	 * @param free
	 * @param version
	 * @param home
	 */
	public JvmInfo(double total,double max,double free,String version,String home){
		this.total =total;
		this.max =max;
		this.free = free;
		this.version = version;
		this.home =home;
	}
}
